#  Python 图像处理的基础库
from PIL import Image

image = Image.new('RGB', (160, 90), (0, 0, 255))   #mode, size, color
image.show()

# 查看图片信息
im = Image.open("../resource/image/input/蝴蝶.jpg")
im.show()

im2 = im.convert('1')
im2.show()
im2.save("../image/output/save.png")


